MAXREFDES82# Code Documentation  V01.00
Maxim Smart Force Sensor
 All Files Functions Variables Macros Groups Pages
stm32f4xx_it.c
Go to the documentation of this file.
1 
30 /* Includes ------------------------------------------------------------------*/
31 #include "main.h"
32 #include "stm32f4xx_it.h"
33 
34 #include "main.h"
35 #include "GUI.h"
36 
37 /* Private typedef -----------------------------------------------------------*/
38 /* Private define ------------------------------------------------------------*/
39 /* Private macro -------------------------------------------------------------*/
40 /* Private variables ---------------------------------------------------------*/
41 extern PCD_HandleTypeDef hpcd;
42 
43 /* UART handler declared in "usbd_cdc_interface.c" file */
44 extern UART_HandleTypeDef UartHandle;
45 
46 /* TIM handler declared in "usbd_cdc_interface.c" file */
47 extern TIM_HandleTypeDef TimHandle;
48 
49 
50 extern volatile GUI_TIMER_TIME OS_TimeMS;
51 extern LTDC_HandleTypeDef hltdc;
52 
53 
54 /* Private function prototypes -----------------------------------------------*/
55 /* Private functions ---------------------------------------------------------*/
56 
57 /******************************************************************************/
58 /* Cortex-M4 Processor Exceptions Handlers */
59 /******************************************************************************/
60 
66 void NMI_Handler(void)
67 {
68 }
69 
76 {
77  /* Go to infinite loop when Hard Fault exception occurs */
78  while (1)
79  {
80  }
81 }
82 
89 {
90  /* Go to infinite loop when Memory Manage exception occurs */
91  while (1)
92  {
93  }
94 }
95 
102 {
103  /* Go to infinite loop when Bus Fault exception occurs */
104  while (1)
105  {
106  }
107 }
108 
115 {
116  /* Go to infinite loop when Usage Fault exception occurs */
117  while (1)
118  {
119  }
120 }
121 
127 void SVC_Handler(void)
128 {
129 }
130 
137 {
138 }
139 
145 void PendSV_Handler(void)
146 {
147 }
148 
154 void SysTick_Handler(void)
155 {
156  HAL_IncTick();
157 
158  // Mulong 0214
159  OS_TimeMS++;
160 }
161 
162 /******************************************************************************/
163 /* STM32F4xx Peripherals Interrupt Handlers */
164 /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */
165 /* available peripheral interrupt handler's name please refer to the startup */
166 /* file (startup_stm32f4xx.s). */
167 /******************************************************************************/
168 
174 #ifdef USE_USB_FS
175 void OTG_FS_IRQHandler(void)
176 #else
178 #endif
179 {
180  HAL_PCD_IRQHandler(&hpcd);
181 }
182 
189 {
190  HAL_DMA_IRQHandler(UartHandle.hdmatx);
191 }
192 
199 {
200  HAL_UART_IRQHandler(&UartHandle);
201 }
202 
208 void TIMx_IRQHandler(void)
209 {
210  HAL_TIM_IRQHandler(&TimHandle);
211 }
212 
218 void LTDC_IRQHandler(void)
219 {
220  HAL_LTDC_IRQHandler(&hltdc);
221 }
222 
228 /*void PPP_IRQHandler(void)
229 {
230 }*/
231 
232 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/